<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <!-- 引入threejs -->
    <!-- <script src="./build/three.js"></script> -->
  </head>
  <body>
    <!-- <div id="webgl" style="margin-top: 100px;margin-left: 200px;"></div> -->
    <script type="importmap">
      {
        "imports": {
          "three": "../../build/three.module.js",
          "three/addons/": "../../../../three/examples/jsm/"
        }
      }
    </script>

    <script type="module" src="./index.js">
      // import * as THREE from 'three';
      // console.log(scene);
    </script>

    <style>
      body {
        overflow: hidden; /*隐藏滚动条*/
        margin: 0; /*取消外边距*/
      }
    </style>
  </body>
</html>
